package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Setmeal;
import com.itheima.reggie.domain.SetmealDish;

import java.util.List;

//套餐
public interface SetmealService {

    // 套餐分页查询
    Page<Setmeal> findByPage(Integer pageNum, Integer pageSize, String name);

    void save(Setmeal setmeal);

    void deleteBatchIds(List<Long> ids);

    Setmeal findById(Long id);

    void update(Setmeal setmeal);

    List<Setmeal> setmealList(Long categoryId, Integer status);

    void updateStatus(Integer status, List<Long> ids);

    List<SetmealDish> setMealDishDetails(Long id);
}
